Skip to content

[web-shared] reskin json viewer (no duplicates, better colours and navigation)#2434

Merged
mitul-s merged 13 commits into
mainfrom
c-ms/35da3c9f
Jun 23, 2026
Merged

[web-shared] reskin json viewer (no duplicates, better colours and navigation)#2434
mitul-s merged 13 commits into
mainfrom
c-ms/35da3c9f

Conversation

@mitul-s

@mitul-s mitul-s commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Reskins the @workflow/web-shared data inspector (the JSON viewer used across the o11y UI). The old react-inspector-based renderer duplicated the inline preview next to the expanded child tree and had theme/color quirks. This swaps it for an in-house tree renderer with cleaner output and no extra dependency.

What changed

  • New tree renderer (data-inspector.tsx): renders JSON as a collapsible tree using bracket notation ({ … } / [ … ]) instead of repeating the inline preview alongside the child tree. Adds colored keys, typed value colors, / disclosure icons, trailing commas, and a ... collapsed indicator.
  • Dropped react-inspector: removed the dependency from package.json and synced pnpm-lock.yaml. The old inspector-theme.ts wiring and useDarkMode overrides are gone.
  • Theme-aware colors: styles now rely on --ds-* design tokens that adapt to light/dark automatically, so strings stay green in both themes (no per-theme overrides).
  • Workflow-specific value handling preserved: StreamRef / RunRef badges, encrypted markers, decoded byte streams, Dates, RegExp (/source/flags), and named class instances all still render as before.
  • Extracted styles into a sibling data-inspector.styles.ts module (class-name map + CSS injected via a React 19 hoistable <style>); no behavior change.
  • ARIA tree semantics restored for the inspector.
  • Tests: exported serializeForClipboard and added unit tests for clipboard serialization plus CopyableDataBlock / EncryptedDataBlock rendering.

Changesets

Two patch changesets for @workflow/web-shared (JSON rendering rework + copyable data block tests).

Test plan

  • Expand objects/arrays and confirm no duplicated inline preview next to the child tree
  • Verify colors (keys, strings, numbers, booleans, null/undefined, dates, regexp) in both light and dark mode
  • Confirm StreamRef/RunRef badges, encrypted markers, and decoded byte streams still render and remain clickable
  • Check collapse/expand icons and the ... collapsed indicator
  • Verify keyboard navigation / ARIA tree semantics
  • pnpm install --frozen-lockfile succeeds in CI

Expanded objects/arrays now render bracket delimiters ({ … } / [ … ])
instead of repeating the inline preview alongside the child tree.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mitul-s mitul-s requested a review from a team as a code owner June 15, 2026 19:44
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3658c1b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@workflow/web-shared Patch
@workflow/web Patch
@workflow/cli Patch
@workflow/nitro Patch
workflow Patch
@workflow/world-testing Patch
@workflow/nuxt Patch
@workflow/core Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/vitest Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Jun 23, 2026 6:12pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Jun 23, 2026 6:12pm
example-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-astro-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-express-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-fastify-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-hono-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-nitro-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-nuxt-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-tanstack-start-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workbench-vite-workflow Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Jun 23, 2026 6:12pm
workflow-swc-playground Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workflow-tarballs Ready Ready Preview, Comment Jun 23, 2026 6:12pm
workflow-web Ready Ready Preview, Comment Jun 23, 2026 6:12pm

@mitul-s mitul-s marked this pull request as draft June 15, 2026 19:44
@mitul-s mitul-s changed the title fix(web-shared): stop data inspector duplicating expanded objects [DRAFT] fix(web-shared): stop data inspector duplicating expanded objects Jun 15, 2026
The react-inspector removal landed in package.json but the lockfile was
reverted during cleanup, breaking frozen-lockfile installs in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 1442 0 230 1672
✅ 💻 Local Development 1605 0 219 1824
✅ 📦 Local Production 1605 0 219 1824
✅ 🐘 Local Postgres 1593 0 231 1824
✅ 🪟 Windows 152 0 0 152
✅ 📋 Other 885 0 179 1064
Total 7282 0 1078 8360

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 125 0 27
✅ example 125 0 27
✅ express 125 0 27
✅ fastify 125 0 27
✅ hono 125 0 27
✅ nextjs-turbopack 149 0 3
✅ nextjs-webpack 149 0 3
✅ nitro 125 0 27
✅ nuxt 125 0 27
✅ sveltekit 144 0 8
✅ vite 125 0 27
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 127 0 25
✅ express-stable 127 0 25
✅ fastify-stable 127 0 25
✅ hono-stable 127 0 25
✅ nextjs-turbopack-canary 133 0 19
✅ nextjs-turbopack-stable 152 0 0
✅ nextjs-webpack-canary 133 0 19
✅ nextjs-webpack-stable 152 0 0
✅ nitro-stable 127 0 25
✅ nuxt-stable 127 0 25
✅ sveltekit-stable 146 0 6
✅ vite-stable 127 0 25
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 127 0 25
✅ express-stable 127 0 25
✅ fastify-stable 127 0 25
✅ hono-stable 127 0 25
✅ nextjs-turbopack-canary 133 0 19
✅ nextjs-turbopack-stable 152 0 0
✅ nextjs-webpack-canary 133 0 19
✅ nextjs-webpack-stable 152 0 0
✅ nitro-stable 127 0 25
✅ nuxt-stable 127 0 25
✅ sveltekit-stable 146 0 6
✅ vite-stable 127 0 25
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 126 0 26
✅ express-stable 126 0 26
✅ fastify-stable 126 0 26
✅ hono-stable 126 0 26
✅ nextjs-turbopack-canary 132 0 20
✅ nextjs-turbopack-stable 151 0 1
✅ nextjs-webpack-canary 132 0 20
✅ nextjs-webpack-stable 151 0 1
✅ nitro-stable 126 0 26
✅ nuxt-stable 126 0 26
✅ sveltekit-stable 145 0 7
✅ vite-stable 126 0 26
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 152 0 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 127 0 25
✅ e2e-local-dev-tanstack-start- 127 0 25
✅ e2e-local-postgres-nest-stable 126 0 26
✅ e2e-local-postgres-tanstack-start- 126 0 26
✅ e2e-local-prod-nest-stable 127 0 25
✅ e2e-local-prod-tanstack-start- 127 0 25
✅ e2e-vercel-prod-tanstack-start 125 0 27

📋 View full workflow run

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.045s (-2.8%) 1.006s (~) 0.960s 10 1.00x
💻 Local Express 0.050s (+3.5%) 1.006s (-0.7%) 0.956s 10 1.10x
💻 Local Next.js (Turbopack) 0.054s (+9.5% 🔺) 1.007s (~) 0.952s 10 1.19x
🐘 Postgres Next.js (Turbopack) 0.056s (-4.3%) 1.011s (~) 0.955s 10 1.23x
🐘 Postgres Express 0.067s (+6.2% 🔺) 1.024s (+1.2%) 0.957s 10 1.48x
🐘 Postgres Nitro 0.073s (~) 1.013s (~) 0.940s 10 1.61x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.306s (+6.9% 🔺) 2.502s (+5.7% 🔺) 2.196s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.468s (+45.1% 🔺) 2.797s (+10.9% 🔺) 2.330s 10 1.53x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.079s (~) 2.006s (~) 0.927s 10 1.00x
💻 Local Express 1.081s (~) 2.007s (~) 0.926s 10 1.00x
🐘 Postgres Next.js (Turbopack) 1.088s (-0.8%) 2.009s (~) 0.921s 10 1.01x
🐘 Postgres Express 1.094s (~) 2.014s (~) 0.921s 10 1.01x
💻 Local Next.js (Turbopack) 1.095s (+1.3%) 2.007s (~) 0.912s 10 1.01x
🐘 Postgres Nitro 1.102s (+0.5%) 2.010s (~) 0.909s 10 1.02x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 1.690s (+18.7% 🔺) 3.685s (+17.4% 🔺) 1.995s 10 1.00x
▲ Vercel Express 1.803s (-33.6% 🟢) 3.602s (-28.8% 🟢) 1.799s 10 1.07x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Next.js (Turbopack) | Express

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 10.430s (~) 11.022s (~) 0.592s 3 1.00x
🐘 Postgres Express 10.436s (~) 11.018s (~) 0.583s 3 1.00x
💻 Local Express 10.466s (~) 11.023s (~) 0.557s 3 1.00x
💻 Local Next.js (Turbopack) 10.495s (~) 11.022s (~) 0.528s 3 1.01x
🐘 Postgres Next.js (Turbopack) 10.495s (~) 11.017s (~) 0.522s 3 1.01x
🐘 Postgres Nitro 10.540s (+0.6%) 11.020s (~) 0.481s 3 1.01x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 12.482s (+6.1% 🔺) 15.337s (+8.0% 🔺) 2.854s 2 1.00x
▲ Vercel Express 13.725s (+17.8% 🔺) 15.633s (+22.3% 🔺) 1.908s 2 1.10x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Next.js (Turbopack) | Express

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 13.521s (-0.6%) 14.020s (~) 0.498s 5 1.00x
💻 Local Nitro 13.561s (-1.2%) 14.028s (-1.4%) 0.467s 5 1.00x
💻 Local Express 13.645s (~) 14.028s (~) 0.383s 5 1.01x
💻 Local Next.js (Turbopack) 13.663s (+0.6%) 14.029s (~) 0.367s 5 1.01x
🐘 Postgres Next.js (Turbopack) 13.711s (~) 14.021s (~) 0.310s 5 1.01x
🐘 Postgres Nitro 13.993s (+2.4%) 14.221s (+1.4%) 0.227s 5 1.03x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 18.610s (+5.3% 🔺) 19.933s (+3.1%) 1.323s 4 1.00x
▲ Vercel Next.js (Turbopack) 18.838s (+4.2%) 20.752s (+3.0%) 1.914s 4 1.01x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 12.081s (-2.4%) 13.025s (~) 0.944s 7 1.00x
🐘 Postgres Express 12.170s (+0.7%) 12.878s (~) 0.707s 7 1.01x
💻 Local Express 12.300s (+2.1%) 13.026s (+2.0%) 0.726s 7 1.02x
🐘 Postgres Nitro 12.317s (+1.3%) 13.020s (~) 0.703s 7 1.02x
🐘 Postgres Next.js (Turbopack) 12.410s (+1.4%) 13.017s (~) 0.607s 7 1.03x
💻 Local Next.js (Turbopack) 12.421s (+1.6%) 13.028s (~) 0.607s 7 1.03x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 28.245s (+26.4% 🔺) 30.122s (+23.1% 🔺) 1.877s 3 1.00x
▲ Vercel Next.js (Turbopack) 29.053s (+13.6% 🔺) 31.107s (+11.3% 🔺) 2.054s 3 1.03x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.159s (-2.4%) 2.009s (~) 0.850s 15 1.00x
🐘 Postgres Next.js (Turbopack) 1.176s (-0.6%) 2.008s (~) 0.832s 15 1.01x
🐘 Postgres Nitro 1.178s (~) 2.008s (~) 0.829s 15 1.02x
💻 Local Nitro 1.365s (-3.7%) 2.006s (~) 0.641s 15 1.18x
💻 Local Express 1.463s (+6.1% 🔺) 2.007s (~) 0.544s 15 1.26x
💻 Local Next.js (Turbopack) 1.475s (+5.5% 🔺) 2.007s (~) 0.532s 15 1.27x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.413s (-59.1% 🟢) 3.769s (-48.7% 🟢) 1.355s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.433s (-0.7%) 3.909s (-7.5% 🟢) 1.476s 8 1.01x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.299s (-2.2%) 3.009s (~) 1.710s 10 1.00x
🐘 Postgres Nitro 1.316s (-3.9%) 2.674s (-5.4% 🟢) 1.358s 12 1.01x
🐘 Postgres Express 1.360s (-3.0%) 2.295s (-0.9%) 0.935s 14 1.05x
💻 Local Nitro 2.489s (-5.1% 🟢) 2.917s (-3.0%) 0.429s 11 1.92x
💻 Local Next.js (Turbopack) 2.498s (-7.4% 🟢) 3.110s (~) 0.611s 10 1.92x
💻 Local Express 2.648s (+9.0% 🔺) 2.917s (-3.0%) 0.270s 11 2.04x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.771s (-14.2% 🟢) 4.556s (~) 1.785s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.114s (-69.2% 🟢) 5.127s (-57.6% 🟢) 2.013s 6 1.12x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.604s (-0.9%) 4.136s (~) 2.532s 8 1.00x
🐘 Postgres Express 1.702s (+7.5% 🔺) 4.139s (~) 2.436s 8 1.06x
🐘 Postgres Next.js (Turbopack) 2.621s (+3.8%) 5.678s (+3.0%) 3.057s 6 1.63x
💻 Local Nitro 5.351s (-12.7% 🟢) 5.680s (-14.2% 🟢) 0.329s 6 3.34x
💻 Local Next.js (Turbopack) 5.882s (+7.5% 🔺) 6.214s (~) 0.332s 5 3.67x
💻 Local Express 6.295s (+2.9%) 7.216s (+9.1% 🔺) 0.920s 5 3.92x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 4.014s (-9.9% 🟢) 6.220s (~) 2.207s 5 1.00x
▲ Vercel Next.js (Turbopack) 4.938s (-40.8% 🟢) 6.736s (-34.1% 🟢) 1.799s 5 1.23x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.168s (~) 2.008s (~) 0.840s 15 1.00x
🐘 Postgres Nitro 1.176s (~) 2.007s (~) 0.831s 15 1.01x
🐘 Postgres Next.js (Turbopack) 1.180s (~) 2.007s (~) 0.827s 15 1.01x
💻 Local Next.js (Turbopack) 1.420s (+0.7%) 2.008s (~) 0.588s 15 1.22x
💻 Local Express 1.434s (+3.6%) 2.007s (~) 0.573s 15 1.23x
💻 Local Nitro 1.449s (+1.6%) 2.006s (~) 0.557s 15 1.24x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.756s (-72.9% 🟢) 5.312s (-55.4% 🟢) 2.556s 6 1.00x
▲ Vercel Next.js (Turbopack) 2.796s (+4.4%) 4.817s (+7.2% 🔺) 2.021s 7 1.01x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.281s (-1.2%) 3.009s (+3.1%) 1.728s 10 1.00x
🐘 Postgres Nitro 1.327s (+1.2%) 2.738s (+2.3%) 1.411s 11 1.04x
🐘 Postgres Express 1.402s (+5.7% 🔺) 2.592s (+13.0% 🔺) 1.191s 12 1.09x
💻 Local Nitro 2.447s (-3.9%) 3.010s (-3.2%) 0.562s 10 1.91x
💻 Local Express 2.633s (+6.4% 🔺) 3.009s (~) 0.376s 10 2.06x
💻 Local Next.js (Turbopack) 2.798s (+6.7% 🔺) 3.567s (+18.6% 🔺) 0.770s 9 2.18x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.962s (-84.0% 🟢) 4.638s (-77.1% 🟢) 1.676s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.188s (-85.4% 🟢) 5.233s (-78.2% 🟢) 2.046s 6 1.08x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.592s (-14.6% 🟢) 4.141s (-3.6%) 2.549s 8 1.00x
🐘 Postgres Nitro 1.618s (-1.3%) 4.297s (+7.1% 🔺) 2.678s 7 1.02x
🐘 Postgres Next.js (Turbopack) 2.510s (-20.6% 🟢) 5.849s (+3.0%) 3.339s 6 1.58x
💻 Local Next.js (Turbopack) 5.799s (+10.3% 🔺) 6.413s (+9.6% 🔺) 0.614s 5 3.64x
💻 Local Nitro 6.656s (-3.8%) 7.417s (-4.5%) 0.761s 5 4.18x
💻 Local Express 7.015s (+10.2% 🔺) 7.769s (+7.6% 🔺) 0.753s 4 4.41x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.329s (-78.7% 🟢) 5.599s (-67.5% 🟢) 2.270s 6 1.00x
▲ Vercel Next.js (Turbopack) 3.444s (-82.6% 🟢) 5.592s (-73.7% 🟢) 2.148s 6 1.03x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.524s (-1.5%) 1.006s (~) 0.482s 60 1.00x
🐘 Postgres Express 0.535s (+1.4%) 1.026s (+2.0%) 0.491s 59 1.02x
💻 Local Nitro 0.551s (-6.4% 🟢) 1.005s (~) 0.455s 60 1.05x
🐘 Postgres Nitro 0.567s (+3.7%) 1.023s (~) 0.456s 59 1.08x
💻 Local Express 0.614s (-4.5%) 1.022s (-1.7%) 0.408s 59 1.17x
💻 Local Next.js (Turbopack) 0.651s (+9.2% 🔺) 1.040s (+3.5%) 0.389s 58 1.24x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.051s (+11.0% 🔺) 4.817s (+12.3% 🔺) 1.766s 13 1.00x
▲ Vercel Next.js (Turbopack) 3.749s (-25.3% 🟢) 5.419s (-22.2% 🟢) 1.669s 12 1.23x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.237s (-3.8%) 2.032s (+1.2%) 0.796s 45 1.00x
🐘 Postgres Next.js (Turbopack) 1.270s (-1.5%) 2.008s (~) 0.738s 45 1.03x
🐘 Postgres Nitro 1.327s (+3.3%) 2.007s (-1.1%) 0.680s 45 1.07x
💻 Local Nitro 1.395s (-5.2% 🟢) 2.006s (~) 0.611s 45 1.13x
💻 Local Express 1.539s (+8.8% 🔺) 2.006s (~) 0.467s 45 1.24x
💻 Local Next.js (Turbopack) 1.565s (+4.7%) 2.007s (~) 0.441s 45 1.27x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 7.691s (-35.6% 🟢) 9.378s (-33.4% 🟢) 1.687s 10 1.00x
▲ Vercel Next.js (Turbopack) 8.598s (+1.2%) 10.501s (+1.5%) 1.903s 9 1.12x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.505s (+2.6%) 3.086s (+0.9%) 0.581s 39 1.00x
🐘 Postgres Next.js (Turbopack) 2.537s (~) 3.009s (-0.8%) 0.472s 40 1.01x
🐘 Postgres Nitro 2.646s (+1.8%) 3.085s (~) 0.440s 39 1.06x
💻 Local Nitro 3.094s (-3.4%) 3.645s (-9.1% 🟢) 0.552s 33 1.24x
💻 Local Express 3.256s (+4.1%) 4.010s (+4.1%) 0.754s 30 1.30x
💻 Local Next.js (Turbopack) 3.471s (+4.2%) 4.010s (+1.7%) 0.539s 30 1.39x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 13.476s (-22.9% 🟢) 16.232s (-14.2% 🟢) 2.756s 8 1.00x
▲ Vercel Next.js (Turbopack) 16.186s (-26.7% 🟢) 18.835s (-22.9% 🟢) 2.649s 7 1.20x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.163s (-3.2%) 1.006s (~) 0.843s 60 1.00x
🐘 Postgres Express 0.191s (-4.1%) 1.007s (~) 0.816s 60 1.17x
🐘 Postgres Nitro 0.208s (-12.7% 🟢) 1.006s (-1.7%) 0.798s 60 1.28x
💻 Local Nitro 0.444s (+0.6%) 1.004s (~) 0.560s 60 2.72x
💻 Local Express 0.450s (+4.5%) 1.005s (~) 0.555s 60 2.76x
💻 Local Next.js (Turbopack) 0.673s (+2.2%) 1.022s (~) 0.349s 59 4.12x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.317s (-35.1% 🟢) 2.763s (-22.3% 🟢) 1.446s 22 1.00x
▲ Vercel Next.js (Turbopack) 1.386s (-27.0% 🟢) 3.014s (-15.1% 🟢) 1.627s 20 1.05x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.260s (-2.6%) 1.006s (~) 0.746s 90 1.00x
🐘 Postgres Express 0.297s (-2.9%) 1.007s (~) 0.711s 90 1.14x
🐘 Postgres Nitro 0.323s (-2.2%) 1.006s (~) 0.683s 90 1.24x
💻 Local Nitro 2.135s (-0.9%) 2.715s (+1.1%) 0.580s 34 8.21x
💻 Local Express 2.200s (+5.5% 🔺) 2.797s (+4.9%) 0.597s 33 8.46x
💻 Local Next.js (Turbopack) 2.836s (+4.8%) 3.652s (+10.8% 🔺) 0.815s 25 10.91x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.781s (-40.1% 🟢) 3.643s (-21.9% 🟢) 1.862s 25 1.00x
▲ Vercel Next.js (Turbopack) 2.449s (-29.9% 🟢) 4.507s (-16.9% 🟢) 2.059s 20 1.37x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.456s (-6.7% 🟢) 3.009s (+1.7%) 2.553s 40 1.00x
🐘 Postgres Express 0.483s (-3.6%) 1.173s (+13.7% 🔺) 0.690s 103 1.06x
🐘 Postgres Nitro 0.516s (+1.1%) 1.068s (+5.3% 🔺) 0.552s 113 1.13x
💻 Local Nitro 9.500s (-1.7%) 10.276s (-6.0% 🟢) 0.776s 12 20.81x
💻 Local Express 10.070s (+7.6% 🔺) 11.211s (+6.5% 🔺) 1.141s 11 22.06x
💻 Local Next.js (Turbopack) 11.548s (+14.3% 🔺) 12.633s (+12.7% 🔺) 1.085s 10 25.30x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.928s (-58.3% 🟢) 5.305s (-38.4% 🟢) 2.377s 23 1.00x
▲ Vercel Next.js (Turbopack) 3.979s (-39.2% 🟢) 6.155s (-27.2% 🟢) 2.176s 20 1.36x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express | Next.js (Turbopack)

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.153s (+1.0%) 1.966s (~) 0.013s (+23.1% 🔺) 2.021s (~) 0.868s 10 1.00x
💻 Local Nitro 1.157s (-1.5%) 2.004s (~) 0.010s (-15.7% 🟢) 2.018s (~) 0.861s 10 1.00x
🐘 Postgres Nitro 1.164s (+1.2%) 1.996s (~) 0.001s (-14.3% 🟢) 2.010s (~) 0.846s 10 1.01x
🐘 Postgres Next.js (Turbopack) 1.169s (+1.0%) 2.001s (~) 0.001s (-40.0% 🟢) 2.011s (~) 0.842s 10 1.01x
🐘 Postgres Express 1.180s (+1.9%) 2.001s (~) 0.001s (-9.1% 🟢) 2.015s (~) 0.835s 10 1.02x
💻 Local Express 1.186s (+2.9%) 2.005s (~) 0.013s (+27.7% 🔺) 2.021s (~) 0.835s 10 1.03x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.433s (+22.7% 🔺) 3.659s (+17.9% 🔺) 4.464s (+107.9% 🔺) 8.651s (+51.1% 🔺) 6.217s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.487s (-20.6% 🟢) 3.684s (-15.4% 🟢) 3.952s (-8.2% 🟢) 8.202s (-12.7% 🟢) 5.715s 10 1.02x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.541s (-0.7%) 2.010s (~) 0.013s (+6.5% 🔺) 2.026s (~) 0.486s 30 1.00x
💻 Local Express 1.559s (+2.3%) 2.010s (~) 0.013s (+6.9% 🔺) 2.025s (~) 0.466s 30 1.01x
🐘 Postgres Nitro 1.570s (~) 2.003s (~) 0.005s (-4.6%) 2.027s (~) 0.457s 30 1.02x
🐘 Postgres Next.js (Turbopack) 1.590s (+1.4%) 2.009s (~) 0.005s (-4.0%) 2.025s (~) 0.435s 30 1.03x
🐘 Postgres Express 1.606s (+4.5%) 2.039s (+1.6%) 0.005s (-14.6% 🟢) 2.058s (+1.5%) 0.452s 30 1.04x
💻 Local Next.js (Turbopack) 1.663s (+6.8% 🔺) 1.967s (~) 0.014s (+14.9% 🔺) 2.027s (~) 0.364s 30 1.08x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 6.061s (-45.5% 🟢) 7.444s (-41.8% 🟢) 0.255s (+6.1% 🔺) 8.244s (-39.2% 🟢) 2.183s 8 1.00x
▲ Vercel Express 6.154s (+7.1% 🔺) 7.266s (+6.2% 🔺) 0.246s (+10.6% 🔺) 8.005s (+6.4% 🔺) 1.851s 8 1.02x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.765s (-3.1%) 1.040s (-0.6%) 0.000s (+Infinity% 🔺) 1.068s (+0.6%) 0.303s 57 1.00x
🐘 Postgres Next.js (Turbopack) 0.933s (-4.2%) 1.326s (-2.7%) 0.000s (+Infinity% 🔺) 1.333s (-2.8%) 0.400s 46 1.22x
🐘 Postgres Express 0.945s (+24.7% 🔺) 1.245s (+16.7% 🔺) 0.000s (-100.0% 🟢) 1.265s (+16.9% 🔺) 0.321s 48 1.23x
💻 Local Nitro 1.275s (-1.7%) 2.013s (~) 0.000s (+25.0% 🔺) 2.015s (~) 0.740s 30 1.67x
💻 Local Express 1.283s (+3.3%) 2.014s (+1.7%) 0.001s (+390.8% 🔺) 2.017s (+1.7%) 0.734s 30 1.68x
💻 Local Next.js (Turbopack) 1.556s (+12.6% 🔺) 1.973s (~) 0.000s (~) 2.017s (~) 0.461s 30 2.03x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.349s (-18.3% 🟢) 4.583s (-10.6% 🟢) 0.000s (-100.0% 🟢) 5.112s (-8.8% 🟢) 1.763s 12 1.00x
▲ Vercel Next.js (Turbopack) 3.769s (-18.0% 🟢) 4.747s (-23.7% 🟢) 0.000s (-25.0% 🟢) 5.229s (-23.0% 🟢) 1.460s 12 1.13x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express | Next.js (Turbopack)

fan-out fan-in 10 streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.763s (+4.2%) 2.263s (+2.2%) 0.000s (NaN%) 2.310s (+3.5%) 0.547s 26 1.00x
🐘 Postgres Express 1.812s (+3.5%) 2.440s (+6.0% 🔺) 0.000s (+4.0%) 2.461s (+6.1% 🔺) 0.649s 25 1.03x
🐘 Postgres Next.js (Turbopack) 2.357s (+1.0%) 2.860s (-1.6%) 0.000s (NaN%) 2.870s (-1.5%) 0.513s 21 1.34x
💻 Local Nitro 3.497s (-7.1% 🟢) 4.093s (-6.7% 🟢) 0.001s (+20.0% 🔺) 4.097s (-6.6% 🟢) 0.601s 15 1.98x
💻 Local Express 3.559s (+8.3% 🔺) 4.028s (+1.6%) 0.001s (+13.3% 🔺) 4.033s (+1.6%) 0.474s 15 2.02x
💻 Local Next.js (Turbopack) 4.151s (+20.0% 🔺) 4.611s (+15.6% 🔺) 0.000s (-42.3% 🟢) 4.657s (+15.5% 🔺) 0.507s 13 2.35x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 5.311s 6.572s 0.002s 7.079s 1.769s 9 1.00x
▲ Vercel Next.js (Turbopack) 5.714s (-19.6% 🟢) 7.149s (-13.9% 🟢) 0.000s (+Infinity% 🔺) 7.717s (-13.2% 🟢) 2.003s 8 1.08x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 18/21
🐘 Postgres Next.js (Turbopack) 8/21
▲ Vercel Express 18/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 18/21
Next.js (Turbopack) 🐘 Postgres 17/21
Nitro 🐘 Postgres 13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run

Remove the test suite and its jsdom/@testing-library devDependencies to
avoid adding new packages. Keeps the data inspector code unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
mitul-s and others added 3 commits June 17, 2026 16:02
Move the class-name map and CSS string out of the component into
data-inspector.styles.ts for readability. Still injected via the
hoistable <style>; no behavior or dependency change.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
mitul-s and others added 2 commits June 23, 2026 14:07
…2584)

Export serializeForClipboard and cover its clipboard formatting (strings, primitives, pretty-printed JSON, circular/BigInt fallbacks) plus CopyableDataBlock/EncryptedDataBlock rendering.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2590. Merge conflicts were resolved by AI — please review carefully. (backport job run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants